<!DOCTYPE html>
<html>
<head>
    <title>登录页面</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>
    <script src="js/register.js"></script>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <style>
    body {
      background: url('static/ocean-3605547_1280.jpg') no-repeat;
      background-size: 100% 130%;
    }

    #login_box {
      width: 20%;
      height: 400px;
      background-color: #00000060;
      margin: auto;
      margin-top: 10%;
      text-align: center;
      border-radius: 10px;
      padding: 50px 50px;
    }

    h2 {
      color: #ffffff90;
      margin-top: 5%;
    }

    #input-box {
      margin-top: 5%;
    }

    span {
      color: #fff;
    }

    input {
      border: 0;
      width: 60%;
      font-size: 15px;
      color: #fff;
      background: transparent;
      border-bottom: 2px solid #fff;
      padding: 5px 10px;
      outline: none;
      margin-top: 10px;
    }

    button {
      margin-top: 50px;
      width: 60%;
      height: 30px;
      border-radius: 10px;
      border: 0;
      color: #fff;
      text-align: center;
      line-height: 30px;
      font-size: 15px;
      background-image: linear-gradient(to right, #30cfd0, #330867);
    }

    #sign_up {
      margin-top: 45%;
      margin-left: 60%;
    }

    a {
      color: #b94648;
    }
  </style>
</head>
<body>
    <div id="login_box">
        <h2>注册</h2>
            <div id="input_box">
              <span>用户名:</span>
                <input type="text" id="new_username" name="new_username" placeholder="请输入用户名">
            </div>
            <div id="input_box">
              <span>电话号码:</span>
              <input type="phone" id="new_phone" name="new_phone" placeholder="请输入电话号码"> 
            </div>
            <div id="input_box">
              <span>密码:</span>
              <input type="password" id="new_password" name="new_password" placeholder="请输入密码">
            </div>
            <div id="input_box">
              <span>确认密码：</span>
              <input type="password" id="confirm_password" name="confirm_password" placeholder="请确认密码">
          </div>
            <button onclick="register_hashPassword()">注册</button>
    </div>
  
</body>
</html>
